package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.allEntityShowingPanel.AllPersonPanel;
import webEquipeRechercheGwt.client.entityMirror.PersonMirror;

public class CommandGetAllPersonsImplAllPersonPanel implements
		CommandGetAllPersons {

	AllPersonPanel target;
	
	public CommandGetAllPersonsImplAllPersonPanel(AllPersonPanel target) {
		this.target = target;
	}
	
	@Override
	public void execute(Collection<PersonMirror> result) {
		target.setPersons(result);
	}

}
